package cn.xxliang.platapp.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import java.util.Date;
import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("可加速APP信息Dto")
public class ApplicationSoftwareInfoDto {
    @ApiModelProperty(value = "APP名称",required = true)
    @NotNull(message = "APP名称不能为空")
    private String applicationName;

    @ApiModelProperty("app图标")
    private String applicationIcon;

    @ApiModelProperty("app介绍")
    private String applicationIntroduce;

    @ApiModelProperty(value = "入驻状态 1-已入驻 2-入驻中",required = true)
    @NotNull(message = "入驻状态不能为空")
    private Integer applicationStatus;

    @ApiModelProperty(value = "状态 1-正常 0-冻结",required = true)
    @NotNull(message = "状态不能为空")
    private Integer status;

    @ApiModelProperty(value = "系统类型 1-安卓包 2-ios包 3-两个类型都有",required = true)
    @NotNull(message = "系统类型不能为空")
    private Integer systemType;

    @ApiModelProperty("安卓包名")
    private String packageName;

    @ApiModelProperty("ios包名")
    private String iosPackageName;

    @ApiModelProperty(value = "类型 1-直播 2-游戏 3-视频 4-教育",required = true)
    @NotNull(message = "类型不能为空")
    private Integer type;

    @ApiModelProperty(value = "加速方式类型 1-应用包名 2-ip白名单",required = true)
    @NotNull(message = "加速方式类型不能为空")
    private Integer accelerateType;

    @ApiModelProperty("IP池")
    private String ipWhiteList;

    @ApiModelProperty(value = "跳转协议",required = true)
    @NotNull(message = "跳转协议不能为空")
    private String urlSchema;

    @ApiModelProperty("系统版本")
    private String systemVersion;

    @ApiModelProperty("苹果商店ID")
    private String appStoreAppId;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("主键")
    private String applicationInfoId;
}


